* {
    padding: 0;
    margin: 0;
}
html,body,.nan_main {
    height: 100%;
}
body {
    // padding-top: 40px;
    // padding-bottom: 100px; 
}
header {
    height: 40px;
    padding-left: 70px;
    padding-right: 40px;
    background: #fe4a65;
    display: flex;
    position: relative;
    a {
      font-size: 16px;
      color: #fff;
      font-weight: bold;
      position: absolute;
      left: 10px;
      top: 10px;
    }
    .search {
        align-self: center;
        flex: 1;
        height: 28px;
        input{
            height: 100%;
            border: none;
            background: #fff;
            text-align: left;
            font-size: 14px;
            // background:yellow;
        }
    }
    i {
        position: absolute;
        right: 10px;
        top: 10px;
        color: #fff;
        font-size: 12px;
    }
}
footer {
    height: 100px;
    .footer_log {
        display: flex;
        justify-content: center;
        text-align: center;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        font-size: 14px;
        margin-bottom: 10px;
        a {
            color: #000;
        }
        .log {
            flex: 1;
            padding: 5px;
        }
        .reg{
            flex: 1;
            border-left: 1px solid #ccc;
            border-right: 1px solid #ccc;
            padding: 5px;
        }
        .toTop {
            flex: 1;
            padding: 5px;
        }
    }
    .foot_link {
        p {
            text-align: center;
            color: #000;
            font-size: 12px;    
            .app {
                color: red;
            }
            .mobile {
                color: #000;
            }
        }
    }
}

.nan_main {
    // position: relative;
    overflow: scroll;
    .tab_bar {
        position: absolute;
        top: 40px;
        width: 100%;
    }
    .mui-table-view {
        width: 100%;
        display: flex;
        li {    
            flex: 1;
        }
    }
    .product {
        padding: 10px;
        // position: absolute;
        
        ul {
            list-style:none;
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            li {
                width: 48%;
                background: #fff;
                padding: 10px;
                margin-bottom: 10px;
                a {
                    // width: 100%;
                    img {
                        display: block;
                        width: 220px;
                    }
                    p {
                        font-size: 12px;
                        color: #000;
                    }
                    .price {
                        display: flex;
                        justify-content: space-between;
                        span:nth-of-type(1){
                            font-size: 20px;
                            color: #f8601d;
                            align-self: center;
                        }
                        span:nth-of-type(2){
                            color: #fff;
                            background: #ff9501;
                            font-size: 14px;
                            padding: 5px 10px;
                            border-radius: 5px;
                        }
                    }
                  
                }
            }
        }
    }
}